Added license and pretty code examples