Initial documentation and move Main class