move source code from lib to src