added CHANGES, LICENSE and bin files
architecture modified.
added more unit tests