fixed pausing menu
added sound library
formatted code