moved code to the 'src' folder, for consistency