Migrated to cadi and added installation script