Converting to paket

Please don't merge. will need to tweak some things