Added app_generator

app_generator executes commands and handles errors