finished work on branch, including integrations.

Now everything works together and some bugs and errors were fixed.
BeatPath also implements __len__ now but still does not wrap it's list
properly. so for now an ugly solution is in place for print_path in run_model.