Changed createProject to use semi-intelligent promises.