Move dune2 features into standalone project