compile before running and testing app