creating a scope and adding $watch function
refactored scope class
adding basic $digest cycle
digest until watcher is dirty