split code among several files
a smidgeon of mobile optimization