Added soundmanager function definitions and updated soundmanager class structure