Added DB Service.
Removed self excuting functions, no longer needed.