Improved: database provider is now singleton (issue #49)
Improved: logger is now singleton.
Improved: session manager is now singleton.