Added module testing and source infrastructure