Added code, license and credits
Rearrange elements