Fix app_name and add basedir as required option

Signed-off-by: Thiago Rondon <thiago.rondon@gmail.com>