Add router and initial functionality