general: importing modules from packages fix

* Uses Flask-Registry for importing modules from packages

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>