initial commit, added README and LICENSE files, wrote better comments