Added Low pass filter

- Added a low pass filter on output
- Added ground on AC input
- Some reorganization