Application prototype

Simple logic and gui example.