created necessary structs and such and finished off init code