Implemented DB saving! Plugin now end-to-end working :)