Removed unimplemented code
Add logging and initial binary
Various bug fixes