Add base implementation of the Main module.