Added Command

Added Command objects for iteration through studies
Put classes into packages for better organization