First meaningful commit

Added license (COPYING)

Added actual code.