update Dart to version 1.0
rename files and add unit tests