Added resources and box class