Update foreground.php

Also adding version to tell the user that the nerwere version is a majour or minor version. This realase has version 2.0.0 beta 1 so that it can be updated to foundation 5