Added method map to Application\Loader
Various improvements, cleanups and fixes