Adopted foundation file structure and variable settings, Fixes #7