move code to src folder