Changed attribute system and added some lighting