Basic java structurs, currently not working as settings configuration registers is broken