Initial documentation and move Main class
Update documentation