Separated APP and CORE directory for easier modification and update

Enable developer to only replace all files outside their app directory
to update vafpress framework.