Changed cabal file so library need not be recompiled for executable.

Moved executable to extra/