add test
to objective
split dimension functions
refactor images
remove image set (use native array)
add travis