added basic functionality to windows forms app