change library interface to allow multiple track initialization