[IMP] Improved library module with new API, added offline check flag when no instance of odoo check