Completed language-getting logic

Now just to do the actual parsing and write tests