moved some code around
began moving reference files code to another package