Added app-based recording
 Moved around functions to more logical places
 Started cleaning up documents