Any self hosting options for studying/test taking? So I plan on starting to study for a major test and I have a collection of data of sample questions &amp; study material (categorized by unique ids, ex. Each specific piece of material is labelled DOC-001, DOC-002 etc.)

In my mind I'm envisioning the following:

* Upload all the sample questions and have an interface that will randomize the questions and spit out tests for me to take accessible on a mobile device so I can go thru the questions on the go during my commute etc.

* Stats on my results that are stored.  Maybe some type of machine learning that starts creating test based on my weak points.

* Ingesting the PDFs of the study material which would automatically upload into a database just the text and then have a way to search by keywords in the material.

Any help/advice would be appreciated!!!