added logging, updated readme with correct app.mode for development