added level constructor and renderer