Moved functions from Functiona.cs to seperate files