removed params class, added instead a parameter public_dirname to app define