Allow change of app_name

Closes #30