import header.py from calibre
build apnx files
removed calibre dependencies