Added resources and some rudimentary loading code.