Implementation of SQlPersistance Class