Removing unused files
Refactoring build code into its own file.