Factoring the code into respective folders