Added subdir-objects so objects are placed into the src directory.
Removed unnecessary build files.
Modified .gitignore with new rules to ignore build files.