refactored localdb to singleton
logger module added
text logging added to db and localdb; console logging removed