fix bug with alpha testing
1. added point lights with attenuation.
2. refactor submission of draw calls to include now functions, instead of classes