add src folder and main function