Started implmenting database adapter class