add collect function

rt and add app folder while their models built in Index.models