begin to split the files

This will remove the need to have so many scripts loaded to every device
and speed up the application memory consumption