added manager and optimizer files