removed sql db wrappers, using pdo native objects