adding base files and setting up app for Metal use