Added an example that tests the library
Added spark.include to enable compiling locally
Attributes are now constrained to a given range