abstract controller representation, pass events to the js client (pubsub)
include assets, general cleanup