Modified app to use values from database instead of constants
Resolved some bugs
Updated configuration.default.inc