Add zip support and sqlite database