factory

Factory Pattern pattern for C development