fix allocation in generic type
ninja changes
add ME examples
add travis ci file