added src files

Same thoughts on passing by const ref.