changes and new libtetpan
seemingly working libraries...
WIP