added foundation framework

lots of work to do!