Added MIT licens and altered some syntax stuff