Initial support for custom DB prefixes

Initial support for custom DB prefixes
Revamped a few pages