Split project into core and sample. This should pave to work to split voodoo up even futher.