Wrote base classes for application
Updated core and added exception
Wrote database system