added initial cabal file, started porting some basic functions