Added cabal build scripts

Added the ability to build the project using cabal
Added .cabal file for building

use cabal install to install the library.