generated table, controller,added routes