moved insertion point js to the start of the file

as its such a key method moving it to be the first item
switch to public methods for object changes
changed object style to use the proto layer
moved old message panel into new object