Restructure project tree.

Put source code under `src`, update `Makefile` accordingly.