Added license

Added MIT licence to project, made some access functions inline.