Added Initialization Code Into an Init() Function

https://github.com/Asahra/Racetrack/issues/18
For extra legibility, moved initialization code into init() functions.