code refactoring
license and additional info added, nette is no longer required (bud strongly suggested)