Update Makefile and readme to use lib.rs