The code and its explanation can be found inside the project. Code is free to use. You can use it without tagging me.