made dpr a library by default

The binary was moved to a subfolder so that the default is a library
usage.
refactored dockerbuild to cache connection
added build function that pushes resulting image
don't tag explicitly, but use the tag provided during build
fixed image push