moved source file to lib dir
declare library and added imports
added pubspec
updated comments
made event class constructor private
update version
fixed capitalization of library and file name
added license