Add rudimentary support for NAMD

This is really rough. Platforms are not properly supported -- there are hardcoded architectures etc.