oops: wrong return values in initialization routines
add: app initialization