fix typos
fix generated images path [dirty]
update Application::path and make it check config as well