Added DB API and Basic Polling Engine