Added general system structure

I've added some files for the main system.