Added UI class.
Merge pull request #18 from kburkay/master

Added UI class.