Implmented main method and added testing loader module