most algorithm done
openxc source files...  final touches