moved files and added a License

Preparing repo for hackage.