use include instead of extend
added main rout eto admin namespace as entries index
reworked plugin hooks function