Bug fixes/Enhancements

- Updated routes.php to use index.php
- Also added a config file so multiple db's can be used
- Fixed an issue when posting int's.(m->floatify)