Factory updates

factory works now, ini needs work.  XML - gah!  no writer.