made routs with meta programming, made a active record model made a controller for index, made a view for index