Refactored project layout.

There's probably going to be more scripts and config files added to this, it might get messy.