Removed hosts/ from submodules
Changed template and main file to respect base options