Added swipe interface and Consts for GUI.

Also created basic logic for activities