Adding the main source code