Moved sql variable out from the Common class

Changed it to be a pool of sql connections.  Will be used to prevent the
web scripts from accessing the sql connection
Setup interface for reading data from the db