Adding readme and comments in api controller