added eventmachine, activerecord, initial em code