Initial commit: Added base sample functional