Moved sample app to sample.hs and removed it from Glisha main file. Compiles and runs successfully.