Started work on sync/async version.
Added some helper constants
Added a simple Makefile.