basic code structure
no need for callbacks, use events to listen for session