Clean code in app