improved sprite code.
removed unnedeed files.