Move implementation to header.
Build binaries in bin/ subdirectory.