Removed debug function
Added blueprint admin
Moved routes to admin blueprint
Added API and Engine functions
Added new admin functionalities to templates