Move classes from lib submodule to core as they are dependencies of the framework rather than extras.
Remove old core files in preparation for core as submodule
Remove core folder in preperation for submodule