Implementing genApp