Wrote BSD License header in each source file.
Fix the typo of a ruby source file name.