Added simple message filtering on the handler. Created a handleMessage function to filter message types and proxy them to the correct handlers. Created handleTransaction method that will check if the current address is valid and add the transaction into an array.