Refactoring of run function in admin classes

Replaced if statements with ternary operators for code cleanup and
readability
Readability fixes & Refactoring

 No issues here
Module: Block Admin

Implemented admin functionality for the block module.
Core CMS functionality is now complete as soon as the parser is fixed
on the infinite loop issue ^_^