placing code in its own directory