Added readme and cleaned up unused functions