Project refactoring documentation

Project refactoring documentation added and some little refactoring