[refactor] Moving some standard functions outside MDB Handlers.
[refactor] Moving some utilityfunctions outside of MDB handlers.
[refactor] Moving utility code from MDB handling code.
[feature] Individual page type handling.
[refactor] Creating main class for separate page handlers.