Rewrite console & generator
Replace joomla classes to windwalker's