Added a free method for the commit_list in crypto-interface and added comments and cleaned up the .h files for crypto-interface