Creating general structure of main class and testing environment