Require app directory instead of tree
Added basic app config