Refactoring packages
Added configuration file and database