Funcmap

Resolves #2