Adding licence information in source code

MIT Licence is now at the top of each source file