Sails app directory refactored