Cleaned up Action comments
Added layout_CreateFromData parsing and comments, cleaned up common parsing code, wrote tests for layout_CreateFromData