corrected imports
made Author and Publication extending Object

less duplicate code