Restructured some source code
Updated README with setup instructions