From http://stackoverflow.com/questions/52797/how-do-i-get-the-path-of-the-assembly-the-code-is-in