Removed database folder

This will go to a separate module.
Rename main library folder 'core'