Added select by checkbox functionalilty
Separated logic into distinct files to ease further development; Updated build accordingly