Moved arguments structure to its own file, fixed memory leak in hash function