Started work on languages state

The languages state has had some work done to it, but it is not
functional yet. It will be one of the last things I work on.