an attempt to create a level 2 rest api for component base connect four game