Added initial c functions and key file