Inital commit rough layout and functions in scripts