First cut of source code

Includes all the required files.