initial version supporting os x and linux platforms