[netcf-devel] [PATCH] Reorganize code to making porting to other platforms easier