add getter/setters
add mapping support to model for class and box vars