created all the base endpoints - hooked it up