Fixed code typos, functions and test in Router package
Organizing Security package, changed how resource was obtained
Enhanced utility classes, fixed code typos and constraints
Fixed exception class name, fixed code typos and formatted accordingly
Changed method naming, corrected order for dependency injection
Created new Interface for type validation in models