First version of boundcond

Already with some debug messages