Perception moved and simple learning build

poved the perception component to a seperate gameobject, merged
perception class to the rest of the system and implemented a simple
learning system into the lear class that changes probabilities.