Fixed package setup

Fixed package setup so now one can build and install the package. Examples still don't work since several resources are not included in package, but I beleave they should not be there. Fixing examples could be done in another pull request.