mostly finished. need to edit files to have it run under an emultor though