Mainaction

Added support for Mainaction, just like subaction but the Action wont be
executed