remove useless stuff and fix app and data sharing

Signed-off-by: Grarak <williye97@gmail.com>