Set/get/apply functions created.

Now I need to get full application functional.