Created a Registry and a application controller. +modified some libs controller code.