commented out difficult to interface with C sections of path.go so it will compile
added page handling functions
started with image API