add support for seperate app dir
add objectrepo and rpc proxy demo