rename functions and remove old main
first comparison
first comparison
add missing images support