frame and class

classified files into frame, model and sql folder.