added many things

added sprite inmorptaion, generation, terraign and more… including bug
fixes!