Use custom database connection class
Remove useless services
Use new array syntax