Adding first base file structure

adding resources together with js_funcs for javascript and php_funcs for
php