Implemented SaveStudyCommand

Sorry about that. Git died on us a little.
Fixed some stuff