Moved system functions to separate folder