reformatted code to 2 spaces, option to register objects, renamed some vars, overwritable srcsrc_attr
more docs