Made changes according to hlint
made a bit cleaner
added the project type