Database classes completed, and some small changes.
Small fixes and modifications to Connector and factory classes.
Added Test class for Connector.
Changed some factory method names so they were more suitable.