adding the foundation

transfering some basic stuff