Move cache and logs to app