cleaning up and adding methods

cleaned up the format class for the main file and added new-project
function