Updated prails class.
Updated tests.
Refactored config loading.
Updated version.