Added more code into Xaml and started working on main window (primary IM view)

Signed-off-by: novaksam <snovak@uwsp.edu>