refactor engine.
remove spaces.
refactor alarm handler to receive raw body