Added basic layout and file-to-cartesian function