Cleared code

introduced config.model to switch between local and php server
introduced dummy addressBar.js
updated all Calculator.commit() calls