added main source and resources