major restructuring of the code

Added the ability to create an empty project, added deployment options,
much more.