Moved code for readability and stubbed Render Function

Read title...