moved bin file to ./bin/qmc; separated classes to different files