move class definition outside function
move class definition outside function

jordimassaguerpla/gems-status-web,jordimassaguerpla/gems-status-web,pombredanne/gems-status-web,pombredanne/gems-status-web,pombredanne/gems-status-web