Split library and run files.

Update Makefile.
Create run directory for executable sources.
Create lib directory for shared and static libraries.