Implementation of Vespa processor, with some extra features