moved SemanticService to its own class, tested functions a little
stupid pyc deletions