Fixed up code blocks project and includes.

Also added makefiles.