Shorthand improvements

add dot notation for accessing models
modify variables constructor
add tests