Exploration project for incorporating state driven objects using javascript.