The Development Of A Modular Framework For Serious Games And The Internet Of Things