Updated routing and started basic functions.