Refactoring + meaningful error messages
Remove fakeapp.js