replace assertion with proper error
formatting
bump version
prepare makefile for opam