added primary button helper for bootstrap view
added global APPLICATION_NAME
tidied up some views