Libfcg

- Added error handling to builder