made authorship.py into reusable module