Changed some classes to ids
Set db max connections to 10