major internals refactor

Signed-off-by: Ethan Vizitei <ethan.vizitei@gmail.com>
version bump to 0.3.0