modified refactoring part. still errors
Merge branch 'master' of https://github.com/And7s/MolSim
changed the refactoring part.