runtime: fixed constants to export through swig properly.
fcd: fixed namespace, api for fcd.