Refactored project system so that build settings work.