Instaphp removed and core files adapted for v2