move main documentation to file