setting up event listeners
set up models and set up collections