added main class and resources