Last commit didn't upload everything.

Classes now use global variable status, messagelistener implemented.