class router created

file needs to be implemented to the end