added binary entry point
initial commit for tested code