added all static fiels and set up all infrastructure - fixes #1