Added CMake configuration files

Added config files for CMake to automate builds and made directory
structure more standard