The first of a few uploads which will allow state specific excited state calculations to be performed. I think the code is more or less working, but this commit is meant as a first step where all the old functionalities are basically unchanged and the new ones will be introduced in the next commit