Refector code, staticalize non exported functions and change the app code