Began setting up the structure for new core

Migrated old code to it's own branch, it is undecided if it will be
maintained.