Added license to large portions of the software
moved 'routes' folder to root