code layout cleanup
Implemented pause feature

Pause on aplication deactivation
Mute feature implemented