added socket io to app and removed router routes