Added rewrite rule and app as document root
Modified app structure