Small fixes
Refactored settings. Added connection pooling for MySQL. Removed API app