moving everything to routes file for simplicity