Create base.php

Please work on this file.