added sprite support using spritesheets.
fixed code convention problems.