splitting files and adding functions