Extended config file
Added a tree structure
Moved database classes into their own folder