added license and readme

changed dartabasepath initiation to static
changed pubspec to use pub core insteat of path