Set resource directory

Resource directory is the main folder where model, controller etc. are created.
Default resource directory is 'app'