Updated almost all methods to object form
Organizing files
Fixes all registered functions