added new relic and refactored DB a lot