fixed up directory structure and added foundation files