add matplotlib to dependencies
started work on new API