reusable _base template and added setup.py