Removing dependency on appname, not used anyway

Change-Id: I66d8fb5887ce29b01ceaca83683e5e68ba3d161a
WIP

Change-Id: I8a6200f44979962248126eed1ad900773566ca4b
Improving error messages

Change-Id: Ie9e710b2c9d7eca4e1bf524ce9bb238270bb474b
Wrong re-throwing new exception syntax fix

Change-Id: Id7d6495370c2601c05e62c7586278a4aad8f393a
Copy paste code mistake

Change-Id: I188411bddb2066f31e3ee8ceb2a6dccf251c299d