Started on dependencyt injection
Made scanPackage mandatory
Working DI with Pages.