Adding affordances package and a few minor tweaks to the behavior to fit into learning