changed readme and added necessary php files