Removed drepo. Formatting and bug fixes.