Set up essential functionality