use monad-php as a dependancy
new implementation of Chain class