seperated data structure and main file
formatted code a bit, now can print hashed parameters