added in classes

added classes, fixed issue with large, still issues with medium format