template file for NTNU submissions that generates a zipfile according to STS13 guidelines

required some reorganisation of lib code