fix hlint warnings
simplify genType: use Int for all integral types and use overloaded strings instead of lazy text quasi-quoters
remove invalid import
add missing import
generate module called Server in Server.hs and module called Client in Client.hs rather than other way round
remove unused code