Complete basic functions of soundmanager. Needs testing