Separate code to src and dist folders