frameword:reverted the orm and all mysql access, added plugings,named blocks.
application: all variables are on static members of a class