Move your Android code to testable Java classes