Restructured files and added Makefile.