removing C api; refactoring
continue with refactor and cleanup
refactor timer
adding broadcast method
adding doxygen comments
updating documentation