Initial commit

Based on this branch: https://github.com/NIIF/nce