Initial commit of files

I'm still working out some bugs.