code for theologica app