Modularizing code

1. Introduction functions Separated into separate class
2. Audio functions separated into separate class