Python/ Flask version of library (previously under development as aaaart)