more methods for primitives
added general functions
removed utils functions that are now on primitives
updated testbed